import request from '@/utils/request'

export function listFormulaSpecifications(query) {
  return request({
    url: '/formulaSpecifications/list',
    method: 'get',
    params: query
  })
}

export function addFormulaSpecifications(data) {
  return request({
    url: '/formulaSpecifications/add',
    method: 'post',
    data
  })
}

export function updateFormulaSpecifications(data) {
  return request({
    url: '/formulaSpecifications/update',
    method: 'put',
    data
  })
}

export function deleteFormulaSpecifications(query) {
  return request({
    url: '/formulaSpecifications/delete',
    method: 'delete',
    params: query
  })
}
